package org.btik.light.server.platform.common.api.bean.common;

/**
 * @author lustre
 * @since 2023/6/13 18:34
 */
public class StatusResult<T> {

    private boolean success;

    private String statusCode;

    private String msg;

    private T result;

    public boolean isSuccess() {
        return success;
    }

    public void setSuccess(boolean success) {
        this.success = success;
    }

    public String getStatusCode() {
        return statusCode;
    }

    public void setStatusCode(String statusCode) {
        this.statusCode = statusCode;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public T getResult() {
        return result;
    }

    public void setResult(T result) {
        this.result = result;
    }

    public StatusResult(boolean success) {
        this.success = success;
    }

    public StatusResult() {
    }
}
